package com.hcx.api.logging.feign;

import com.hcx.api.logging.dto.SysLogDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "hcx-logging")
public interface LoggingFeignClient {
    @PostMapping("log/save")
    Boolean saveLog(@RequestBody SysLogDto sysLogDto);
}
